<div id="devise-mini">
  <div class="container">
    <div class="well">

    <h3>Sign In</h3>
    <p>Please sign in to continue.</p>

      <%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
        <div><%= f.label :email %>
        <%= f.email_field :email, :autofocus => true %></div>

        <div><%= f.label :password %>
        <%= f.password_field :password %></div>

        <% if devise_mapping.rememberable? -%>
          <div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div>
        <% end -%>

        <button class="btn btn-primary" type="submit">Sign me in!</button>
      <% end %>

      <%= link_to "Forgot your password?", new_password_path(resource_name) %>

      <br/><br/>

      Don't have an account? <%= link_to "Sign up", new_registration_path(resource_name) %>

    </div>
  </div>
</div>
